package com.hhh.demo.sx.mapper;

import com.hhh.demo.sx.bean.UserRole;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author hhh
 * @since 2021-12-27
 */
public interface UserRoleMapper extends BaseMapper<UserRole> {
    @Select("select * from user_role where role_id=#{id}")
    List<UserRole> selectByRoleId(Integer id);

}
